package com.admin.themechange

import android.app.Application
import skin.support.SkinCompatManager
import skin.support.app.SkinCardViewInflater
import skin.support.app.SkinCompatViewInflater
import skin.support.app.SkinLayoutInflater

/**
 * author 吴昶
 * date 2019/5/29
 * 标注
 */
class MyApplication :Application(){

    override fun onCreate() {
        super.onCreate()
        SharedPreferencesUntil.initShare(applicationContext)
        SkinCompatManager.withoutActivity(this)
            .addInflater(SkinCardViewInflater())
            .setSkinStatusBarColorEnable(true)
            .loadSkin()
    }
}